package demo02;

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.Open();

        Mouse mouse = new Mouse();
        Keyboard keyboard = new Keyboard();

        computer.Choose(mouse);
        System.out.println("====================");
        computer.Choose(keyboard);

        computer.Close();
    }
}
